package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.TopInstBean;

/**
* 描述：龙虎榜机构成交明细
* @author: codesmith
**/
@Data
@TableName("top_inst")
public class TopInstEntity implements TopInstBean {
    
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 营业部名称
    */
    @TableId
    @TableField("`exalter`") protected String exalter;

    @TableField("`buy`") protected Double buy;

    @TableField("`buy_rate`") protected Double buyRate;

    @TableField("`sell`") protected Double sell;

    @TableField("`sell_rate`") protected Double sellRate;
    /*
    * 净成交额（万）
    */
    @TableId
    @TableField("`net_buy`") protected Double netBuy;
}